import random

def generate_data(num_tests, max_length, max_height):
    test_cases = []
    for _ in range(num_tests):
        length = random.randint(1, max_length)
        height = [random.randint(0, max_height) for _ in range(length)]
        test_cases.append(height)
    return test_cases

if __name__ == "__main__":
    num_tests = 5
    max_length = 10
    max_height = 5
    test_cases = generate_data(num_tests, max_length, max_height)
    for case in test_cases:
        print(case)